-
Home
-
Offload, AI & Optimize with Cloudflare Images
-
1.2.0
-
Code
-
Classes
- Core
Total Complexity |
92 |
Dependencies |
10 |
Dependents |
2 |
Total lines |
765 |
Lines of code |
276 |
Logical lines of code |
180 |
Comment lines |
335 |
Methods |
23 |
Properties |
10 |
Methods 23
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_attachment_image_src() |
B |
43 |
20 |
43 |
__construct() |
A |
47 |
7 |
33 |
add_attribute() |
S |
55 |
6 |
18 |
content_img_tag() |
S |
56 |
6 |
17 |
add_class_to_attachment() |
S |
59 |
6 |
14 |
prepare_attachment_for_js() |
S |
59 |
5 |
15 |
is_rest_request() |
S |
59 |
5 |
13 |
can_run() |
S |
66 |
5 |
9 |
calculate_image_srcset() |
S |
60 |
4 |
13 |
use_custom_image_path() |
S |
65 |
4 |
9 |
enable_flexible_variants() |
S |
61 |
3 |
12 |
set_cdn_domain() |
S |
66 |
3 |
8 |
add_class_to_img_tag() |
S |
64 |
3 |
10 |
load_libs() |
S |
60 |
2 |
13 |
enqueue_auto_resize() |
S |
69 |
2 |
6 |
get_instance() |
S |
71 |
2 |
6 |
maybe_redirect_to_plugin_page() |
S |
67 |
2 |
8 |
set_error() |
S |
68 |
2 |
7 |
get_version() |
S |
82 |
1 |
3 |
get_error() |
S |
80 |
1 |
3 |
get_plugin_name() |
S |
82 |
1 |
3 |
populate_image_sizes() |
S |
72 |
1 |
5 |
init_integrations() |
S |
66 |
1 |
8 |